<template>
  <div id="nav">
    <div @click="openUrl('f','隐私政策')">隐私政策_20240408</div>
    <div @click="openUrl('f','隐私政策摘要')">隐私政策摘要_20240408</div>
    <div @click="openUrl('f','服务协议')">服务协议_20240408</div>
    <div @click="openUrl('f','用户管理规则及公约')">用户管理规则及公约_20240408</div>
    <div @click="openUrl('f','个人信息收集清单')">个人信息收集清单_20240408</div>
  </div>
</template>

<script>
export default {
  name: "index",
  data() {
    return {
      loading: false,
      switchValue: "F",
    };
  },
  methods: {
    openUrl(officeType,fileId) {
      const jump = this.$router.resolve({ path: `/viewFile/${officeType}/${fileId}`});
      window.open(jump.href, '_blank');
    },
  },
  // 初始化
  created() {
  },
};
</script>

<style scoped>
#nav {
  height: auto;
}
</style>